package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.rBuyappMain;
import com.isunland.managesystem.entity.rBuyappSub;

/**
 * 对象功能:  采购明细
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/6/15 14:18
 */
public class BuyDetailActivity extends SingleFragmentActivity {
  @Override protected Fragment createFragment() {
    rBuyappSub content =
        (rBuyappSub) getIntent().getSerializableExtra(BuyDetailFragment.EXTRA_CONTENT);
    rBuyappMain mainContent =
        (rBuyappMain) getIntent().getSerializableExtra(BuyDetailFragment.EXTRA_MAIN);
    return BuyDetailFragment.newInstance(content, mainContent);
  }
}
